Homework 3

here is my pull request for homework 3.

* did print line from within main
* created method outside of main to print name
* created new class to print name when new object is created

all functions were compiled and tested.