makeNoise method added to Animal class