Adding debug information and got rid of tempromental functions

1) Made sure that the IPs are getting sent in properly
2) After parsing them, dump them out onto the screen
3) Check if the loop is getting called numerous times for all different IP addresses
4) remove `list` for standard arrays
5) echo out which IP is dead