mars rover working
refactored mars rover exercise