public Map(int width_in, int height_in,int foodSource_in){//width=elements in each array, height=# of arrays
		beforeTime=0;
		afterTime=0;
		performance=0;
		System.out.println("ANT MADE IT IN THIS MANY MOVES: ");
		mapGUI=new GUI(height_in,width_in);//GUI
		specialAntMult=1;
		ANT_COUNTER=1;
		BEST_ANT_MOVEMENTS=1000000000;
		width=width_in;
		height=height_in;
		antList=new ArrayList<Ant>();
		finishedAnts=new ArrayList<Ant>();
		map=new Cell[height][width];
		Cell[] tempArray=new Cell[width];
		for(int i=0;i<map.length;i++){
			tempArray=new Cell[width];
			for(int j=0;j<map[i].length;j++){
				tempArray[j]=new Cell(j,i);
			}
			map[i]=tempArray;
		}
		int foodNum=0;
		if(width*height<foodSource_in){
			System.out.println("REMAKE MAP, TOO MANY FOOD SOURCES SPECIFIED!");
		}else{
			Cell tempCell=map[height/8][width/8];//getRandomCell();//TEST
			Cell foodCell = tempCell;
			while(foodNum<foodSource_in){
				mapGUI.makeFood(tempCell.getLocation()[1], tempCell.getLocation()[0]);//GUI
				if(tempCell.getType()==0){
					foodNum++;
					tempCell.makeFoodSource();
				}
			}
			
			for(int i=0;i<width*height/5;i++){
				tempCell=getRandomCell();
				if(tempCell.getType()==0 && tempCell.isNextTo(foodCell.getLocation()) == false){
					tempCell.makeObsticle();
					mapGUI.makeObsticle(tempCell.getLocation()[1],tempCell.getLocation()[0]);
				}	
				
			}
		}
	}