updated pseudocode with a bit more real code, started the brains for mastermind