Added default constructor to struct Type.
A bunch of examples added to main.cpp