Implemented a few simple List functions.