generateIPList is now working. I've changed the sniffing module around a little bit and renamed the main program file.