Calculating Square number using inpuilt function