Closing the communication and adding switch statement. Changed left and right to be associated with the function calls for goLeft and goRight.