public void setNeighbors( int[] truckdrivin){
			//System.out.println(truckdrivin.length);
			//System.out.println(neighborstate.length);
		for(int g = 0; g <= truckdrivin.length-1; g++){
		switch(inmode){
			case 0:  break;	
			case 1: if(truckdrivin[g] > 0){neighborstate[g] = 1;}
					else{neighborstate[g] = 0;} break;
			case 2: neighborstate[g] = truckdrivin[g]; break;
			default: neighborstate[g] = truckdrivin[g]; break; 
			}
			}
		}