initial commit of ex18
commented ex18