See Attachment.

The instructor of my class gave us method names, variables, etc so i had to follow what he required. My question is this: How do I check if an area is occupied by an object or how to know an objects location in the grid? I've coded everything myself and by hand but I do not understand my instructors instructions. When asked, he said they were pretty self explanatory...

Anyway, Rob is meant to enter the room and walk to the exit. If he encounters an obstruction (wall, object, what-have-you), he's supposed to say "Ouch!" then turn in a given direction.

I'm not seeing how I get if a square is occupied or not via the requirements he gave.

I forgot to upload a file as to what is required by the professor. Here is how he wants the program to work.