client and server for project 3, part e. not finished, but close