Now, how do I get to the other side of the room without falling down the pit?
Use either the left wall or the top wall to get half a block over to enable your exit.