Solutions for CodeEval.com