python program to calculate the cube of a number