Revert "implementing linked list"

This reverts commit 7693dfe946eec097bd4d917395b70d7112742531.