mono-typed list exercise