Completed implementation of generate_space_beyond_door() - fixes #12