changed checkwin and added method getAvailMoves()
Merge branch 'master' into Threading
- Getting new availMoves algorithm