Solutions for CodeEval challanges