Programming assignment 2 - Joan Timoneda