private void parseRoom(Command command) {
        if (!command.hasNthWord(2)) {
            System.out.println("Go where?");
        } else {
            String direction = command.getNthSegment(1);
            String nextRoom = rooms.get(currentRoom).getExit(direction);
            if (nextRoom == null) {
                System.out.println("You can't go there!");
            } else {
                if(nextRoom.equals("Ken's Krib")){
                    if(hasKey){
                        isFinalRoom = true;
                    } else {
                        System.out.println("The door at the top of the stairs appears to be locked...");
                        return;
                    }
                }
                goRoom(nextRoom);
            }
        }
    }