Better Approach
Source with Test Cases
Merge branch 'master' of https://github.com/omkarBS/Mars_Rover_Problem