First shot at ping routine
Added ping in main
Corrected sockaddr defintion
Added IPV4 header checksum
Big fat refactoring
Ping routine is working
Some packets are still lost during the process. Maybe it's my shitty wifi.
Cleaned code and fixed warnings
Fixed ping memory leaks
stuff
Fixed uninitialized variable