p14 was easy
another fairly easy problem