public Method getMazeGeneratorByAlias(String genName){
        Method m = null;
        
        Iterator<Method> it = mazeGenerators.iterator();
        
        while(it.hasNext() && m == null){
            Method cur = it.next();
            MazeGenerator sub = cur.getAnnotation(MazeGenerator.class);
            for(String c : sub.alias()){
                if(c.equalsIgnoreCase(genName)){
                    m = cur;
                }
            }
        }
        return m;
    }