program for finding square root