public AbstractMatter get(Class c){
        for(AbstractMatter e : list)
        {
            if(e.getClass().getSuperclass() == c)
            {
                return e;
            }
        }
        return null;
    }