parse the result of nmap ping scan in haskell