int getRoomFitness(RoomScheme r){
        int roomFitness = maxFitness(r);
        for (Subject[] room : r.rooms) {
            for (Subject room1 : room) {
                if (room1.getCode() == 0) roomFitness --;
                if (classCount(r, room1.getCode()) > 2) roomFitness --;
            }
        } return roomFitness;
    }