added random placement, walls and passages.