Implemented the singly linked list and trying some problems