Code for solutions of CodeEval