Answers to CodeEval problems