how to find if a number is a perfect cube