Implemented List.

Implemented List which is basically a linked list. Also tested it and corrected many runtime errors and finally found it stable.