a simple BASH script to detect IPs in a local network by pinging them