Extracted method blockStateEquals which take in the object created in
equals and checks through if statements that were in the Equals method.