Now sends and receives packets

Still a few bugs. I think its caused by javas signed integers/bytes
Fixes  a few bugs.
Fixes remaining bugs

It now prints the IPs properly.
Adds Comments
Now prints the hostnames and their IP
adds incomplete UDP part of Lab3
Completes the UDP part of the lab