add all function and value
Add function. But not finished bug fix.
Bug fixed, and finish without checkWin function.
Minor change.
finish checkWin function.