Syntax corrections and function implementation

- Fixed incorrect object pointer syntax for Node<T> class
- Implemented clear() function and finished class dtor.