adding inclass solutions and editing my old answers from last nights homeowrk