learned about casting in the equals for strawberry class