Finished assignment1.