CPSC 353 Networks Java Assignment 3