Implementation of the classic Mastermind boardgame