My solution to papp quest 2