F# implementation of mastermind