modifications of Main, MasterMind and Pattern Class; creation of Result
and Player Class