[homework 3] - Finished the TCP file transporting program