Defining classes part one

All exercises except exercise 12.