Finish class 5 exercises