adding Homework8 - using classes and pylab