public Room portal(String s, Player p){
	Room b = null;
	if(p.hasItem(s)){
	    System.out.println("You cannot use the portal while you are holding it.");
	    return p.getRoom();
	}
	if (s.equals("Blue_Portal")){
	    for(int i = 0; i < rooms.size(); i++){
		if (rooms.get(i).hasItem("Yellow_Portal")){
		    b = rooms.get(i);
		    break;
		}
	    }
	}
	else if(s.equals("Yellow_Portal")){
	    for(int i = 0; i < rooms.size(); i++){
		if (rooms.get(i).hasItem("Blue_Portal")){
		    b = rooms.get(i);
		    break;
		}
	    }
	}
	else
	    return p.getRoom();
	return b;
	    
    }