Finished with problem number 3 of hw2