public static void movingperson()//old code, not used now
    {
 
    	Point t = new Point();
    	t=personCell.getLocation();

    	double x = Math.random();
    	double y = Math.random();
    	System.out.println(x);
    	if(x<0.3)
    	{
    		t.y=t.y+10;

    	}//down
    	else
    	{
    		//t.y=t.y-10;

    	}
    	if(y<0.5)
    	{
    		t.x=t.x+15;

    	}//down
    	else
    	{
    		t.x=t.x-15;

    	}
    	if (t.y>509)
    	{
    		//int point =personCell2.getX();
    		//personCell2.setLocation(point, 19);
    		t.y=19;
    	}            

    	if(t.x>754)
    	{
    		t.x=19;
    	}
    	if(t.x<19)
    	{
    		t.x=754;
    	}


		personCell.setLocation(t);
		
    	
    	
    	
    	//x largest = 754
    	//x small 19?
    	//y 509   19
    }