public void drawCell(int x, int y, int col){
		Graphics g = this.getGraphics();
		g.setColor(Color.black);
		g.fillRect(x * cellSize, y * cellSize, cellSize - 1, cellSize - 1);
		col = (int)col%7;
		switch(col){
			case -1:
				g.setColor(Color.BLACK);
				break;			
			case 0:
				g.setColor(Color.YELLOW);
				break;
			case 1:
				g.setColor(Color.BLUE);
				break;
			case 2:
				g.setColor(Color.RED);
				break;
			case 3:
				g.setColor(Color.GREEN);
				break;
			case 4:
				g.setColor(Color.MAGENTA);
				break;
			case 5:
				g.setColor(Color.ORANGE);
				break;
			case 6:
				g.setColor(Color.PINK);
				break;       		
		}
		g.drawRect(x * cellSize, y * cellSize, cellSize - 1, cellSize - 1);
	}