Solutions to selected programming challenges of CodeEval