Solving problems on CodeEval.com