setup base case
recognizes pi
handles sandwiched pi
handles multiple pis
distinguishes bet pi and p
distinguishes bet pi and i