public void loadMap(int[] map, int width, int height, int[] tpmap) {
		
		int count = 0;
		Tile temp;
		
		// Go through each width 0-w then
		// increment the height + 1 until complete
		for(int j = 0; j < height; j++){
			for(int i = 0; i < width; i++){
				temp = new Tile( i, j, map[count] );
				tileList.add(temp);
				count++;
			}
		}
		
		//Populate the teleporter list
		//teleporterList(0) and (1) are sisters, (2) and (3), and so on
		for (int i = 0; i < tpmap.length; i=i+2)
		{
			int j = tpmap[i];
			int k = tpmap[i+1];
			teleporterList.add(new Pair(j, k));
		}
		
		sort();
	}