Finished all problems in assignment 3