fixed own hash method, using it now for ex3