challenge submitted to codeeval.com