Haircut solutions

Haircut was solved using Julia by 2 contestants. Solution sizes: average 1067 bytes (shortest: 1012; longest: 1178).