Finished the 4th exercise