added code for printing ports and ip correctly
added code to print port and ips correctly

Merge branch 'master' of https://github.com/esiqveland/prosjektoppgave