write an algorithm to find area of circle