completed the code of wumpus game