Haircut solutions

Haircut was solved using Octave by 1 contestant.