Indianna Level 2 : refactoring GetNextLocation()