Fixed typos in `list.h`

* list.h - fixed missing semicolon and misspelled struct keyword.
Created list test code

* list.cpp - added size to the print() method.

* main.cpp - added code to test all features of the List class.