codeeval.com file size commit. added tests for later optimization.