Haircut solutions

Haircut was solved using F# by 2 contestants.