Two bug fixed

1. clearing screen does not depend on OS
2. program now quits properly when user did not want to play