Maximum Ocean Distance - Coding problem | OneNoughtOne