Added functions for first and last hosts in subnet

Added, tested and documented functions to Subnet class to get the first
and last usable IP addresses.