Create NetworkUtil.java

A network utility class, useful for determining a device's internet connection status, as well as the Wifi network name and gateway IP address.