Create nested class InvalidStateException into Town.java to be thrown on
bad input parameters to the constructor.