week #11 assignment -  make State an abstract class implementing equals and toString.