finished in class tcp assignment