public void initWall(Coordinate coord) {
		setCell(coord, Wall.getInstance());
		int direction = (int) (Math.random()*4);
		int lenght = (int) (Math.random()*(dimension/2));

		for (int i = 0; i < lenght; i++) {
			switch (direction) {
			case 0:
				coord.moveNorth();
				break;
			case 1:
				coord.moveEast(dimension);
				break;
			case 2:
				coord.moveSouth(dimension);
				break;
			case 3:
				coord.moveWest();
				break;
			default:
				break;
			}
			Element o = getCell(coord);
			if (o.getElementType() == ElementType.WATER) 
				break;
			else 
				setCell(coord, Wall.getInstance());
		}
	}