Scan local network for IP and MAC addresses

Use the script without parameter to scan for both IP and MAC addresses. Use ./scanip.sh nomac to do a scan for IP only.