Programming assignment 2 from Torbjörn Kraft