[Hacker Rank] 20/20 Hack August - JourneyToMoon Problem