finished creating new Synapses and added equals() and hashCode() override methods