CodeEval challenge number 003