Hackerrank Problem: Journey to the moon