added homework 8
minor fixes to homework