public void addPedestrian(){
		int n = rand.nextInt(4);
		int m = rand.nextInt(2);
		switch(n){
		case Pedestrian.GO_DOWN:
			if(m==0)
				pedestrians.add(new Pedestrian(260, 0, Pedestrian.GO_DOWN));
			else
				pedestrians.add(new Pedestrian(412, 0, Pedestrian.GO_DOWN));
			break;
		case Pedestrian.GO_UP:
			if(m==0)
				pedestrians.add(new Pedestrian(260, 700, Pedestrian.GO_UP));
			else
				pedestrians.add(new Pedestrian(412, 700, Pedestrian.GO_UP));
			break;
		case Pedestrian.GO_RIGHT:
			if(m==0)
				pedestrians.add(new Pedestrian(0, 265, Pedestrian.GO_RIGHT));
			else
				pedestrians.add(new Pedestrian(0, 410, Pedestrian.GO_RIGHT));
			break;
		case Pedestrian.GO_LEFT:
			if(m==0)
				pedestrians.add(new Pedestrian(700, 265, Pedestrian.GO_LEFT));
			else
				pedestrians.add(new Pedestrian(700, 410, Pedestrian.GO_LEFT));
			break;
		}
		
	}