Dodanie hasCode i equals