Implementing a basic list structure.