First version of Homework2