Refactored mastermindinput.py
Revert "Refactored mastermindinput.py"

This reverts commit 82edf010a01f3da354426d75a6529b38f67d8e0f.
Revert "Revert "Refactored mastermindinput.py""

This reverts commit 62de02cf0ce4767b71a964629fe67aaca98614e3.