codeeval.com calculate distance commit