My codeeval.com answers