public boolean setSize(int players, int mapSize)
	{
		boolean condition = false;
		//added for validation
		if(players >= 2 && players <= 4)
		{
			while(mapSize < 5 || mapSize > 50)
			{
				System.out.print("Size of map should be between 5 and 50.  Please re-enter size : ");
				mapSize = keyboard.nextInt();
			}
			condition = true;
		}
		else if(players >=5 && players <= 8)
		{
			while(mapSize<8 || mapSize > 50)
			{
				System.out.println("Size of map should be between 8 and 50.  Please re-enter size : ");
				mapSize = keyboard.nextInt();
			}
			condition = true;
		}
		
		colorMapping = new int[mapSize][mapSize];
		Map.size = mapSize;
		
		return condition;
	}