week 1 homework

doesn't match your in-class while/try/except solution, but closes after 1 server/client exchange with no errors...