To find the square root of a number upto "p" no of places Here we take input of that number "num" and the number "p"