fixed initalizations in mastermind constructor