Finish chapt 5 exercises