Pi search example