CodeEval medium level challenges