added a get state method to mountain car that allows the client to
specify the start position and velocity