Changed name of findpi and added reverse string