Complete redo of code and fixed the displaying of secret number