Completed basic functionality for assignment 3.

Needs a bit of work on the file input to remove loops. Lots of work to
be done in the main altering types area.