CodeEval challenge number 8