private void makeSideRoom(LayeredMap lmap, int x, int y)
    {
        // Hajo: check if there is space for a side room
        boolean ok = true;
        
        for(int j=y-7; j<y; j++) {
            for(int i=x-5; i<x+2; i++) {
                
                if(i>=0 && j>=0) {
                    ok &= (lmap.get(1, i, j) != 0);
                } else {
                    ok = false;
                }
            }
        }
        
        if(ok) {
            makeRoom(lmap, x-4, y-6, 5, 5, false);
            makeRoom(lmap, x, y-1, 1, 1, false);

            /*
            // Hajo: try to place template
            if(sideRooms.size() > 0) {
                int n = rand.nextInt(sideRooms.size());
                lmap.insert((LayeredMap)sideRooms.get(n), x-5, y-7);
            }
             */
        }
    }