Generalized list without templates, based on St'Vincent College course