Created client side code for testing of server after homework 4 was completed