Format code
changed move to take in location object
put comment near direction field of location to describe what int
represents what