public void buildBoard(){
		
		Wall wall;
		Cheese cheese;
		Intersection intersection;
		
		for(int i = 0; i < levelData.length; i++){
			
			switch(levelData[i]){
				case 1:
					wall = new Wall(i-((i/21)*21),i/21);
					collisionList.add(wall);
					paintList.add(wall);
					break;
				case 2:
					cheese = new Cheese(i-((i/21)*21),i/21, false, this);
					collisionList.add(cheese);
					paintList.add(cheese);
					break;
				case 3:
					cheese = new Cheese(i-((i/21)*21),i/21, true, this);
					collisionList.add(cheese);
					paintList.add(cheese);
					break;
				case 4:
					pacman = new PacMan(i-((i/21)*21),i/21, this);
					paintList.add(pacman);
					break;
				case 5:
					intersection = new Intersection(i-((i/21)*21),i/21);
					intersectionList.add(intersection);
					paintList.add(intersection);
					break;
				case 6:
					intersection = new Intersection(i-((i/21)*21),i/21);
					intersectionList.add(intersection);
					paintList.add(intersection);
					cheese = new Cheese(i-((i/21)*21),i/21, false, this);
					collisionList.add(cheese);
					paintList.add(cheese);
					break;
				case 7:
					intersection = new Intersection(i-((i/21)*21),i/21);
					intersectionList.add(intersection);
					paintList.add(intersection);
					cheese = new Cheese(i-((i/21)*21),i/21, true, this);
					collisionList.add(cheese);
					paintList.add(cheese);
					break;
				case 8:
					ghost = new Ghost(i-((i/21)*21),i/21, this);
					collisionList.add(ghost);
					paintList.add(ghost);
					break;
			}
			
		}
		
	}