add the code of GUI version of guess my number