added class files for Homework2