Modified cutHair method.

Revised logic by using an if statement to check if the current  hair
length is greater than or equal to the haircut minimum  length.