A solution for G51PRG module coursework at University of Nottingham. 2012/2013