Finished exercises 1-4