homework 3 done - simple server