move mastermind game logic (mastermind_evaluate method) to model
made controller thin, move respective methods into model