fixed the outofboudsexception

isSameUnit(PoliticalUnit t) will compare a political unit to this one and return true if it is the same unit

isSameUnit(String name) will take the String name of the political unit and return true if this unit has the same name as the String name