master mind in python, text bassed