public void Move(int dir)
	{
		switch(dir)
		{
		case 0:
			if(cube.getLoc()%4 != 0)
			{
			cube.Left();
			}
		break;
		case 1: 
			if(cube.getLoc()%4 != 3)
			{
				cube.Right();
			}
		break;
		case 2: 
			if(cube.getLoc() > 3)
			{
			cube.Down();
			}
		break;
		case 3: 
			if(cube.getLoc() < 12)
			{
			cube.Up();
			}
		break;
		}
		State();
		
	}