Main Control Logic for Rover

Nikhil Malhotra, wrote the logic