Solutions to CodeEval problems.