My solutions to the three first problems of the code jam 2012