public static void move(int to, Room curRoom)
	{
		if(to==0)
		{
			Room[] nRoom = curRoom.getConnects();
			System.out.println("You went North");
			
			try //checks if a room to the north exists. If not..
			{
				nRoom[0].equals(null);
			}catch(NullPointerException npe)
			{ ///... It'll make a new room for you and auto-connect them.
				nRoom[0] = RoomHandling.generateRoom(1,curRoom);
			}
			enterRoom(nRoom[0]); //Then you enter this new room!
		}
		
		if(to==1)
		{
			Room[] sRoom = curRoom.getConnects();
			System.out.println("You went South");
			try{
				sRoom[1].equals(null);
			}catch(NullPointerException npe)
			{
				sRoom[1] = RoomHandling.generateRoom(0, curRoom);
			}
			enterRoom(sRoom[1]);
		}
		if(to==2)
		{
			Room[] eRoom = curRoom.getConnects();
			System.out.println("You went East");
			try //checks if a room to the north exists. If not..
			{ 
				eRoom[2].equals(null);
			}catch(NullPointerException npe)
			{ ///... It'll make a new room for you and auto-connect them.
				//eRoom[2] = RoomHandling.generateRoom(2,curRoom);
				eRoom[2] = RoomHandling.generateRoom(3, curRoom);
			}
			enterRoom(eRoom[2]); //Then you enter this new room!
		}
		if(to==3)
		{
			System.out.println("You went West");
			Room[] wRoom = curRoom.getConnects();
			//System.out.println(wRoom[3].getHor()+","+wRoom[3].getVert()+" OHMYGOOD"); //<-FOR TESTING WEST GLITCH
			try //checks if a room to the north exists. If not..
			{
				wRoom[3].equals(null);
			}catch(NullPointerException npe)
			{ ///... It'll make a new room for you and auto-connect them.
				//eRoom[2] = RoomHandling.generateRoom(2,curRoom);
				wRoom[3] = RoomHandling.generateRoom(2, curRoom);
			}
			enterRoom(wRoom[3]); //Then you enter this new room!
		}
		
	}