Programming parabolic function

bit shifting multiplies by 2, it does not square!