Additional code to run nmap

This uses the nmap library in python. Provides reliable results.