Implemented hashCode and equals in ToricGridWorld for the benefit of client code.  Implemented a reasonable toString method in ToricGridWorld.