List_ter implemented. Encountering error in compiling.