Subnet calculator written in Java.