A simple python program for solving Mastermind