final version

homework, programming assignement2