A simple python OOP mastermind engine