Added recursive versions of p1 and p2. Changed fibonacci to tail recursion in p2 and using match