Added better end game detection
Merge branch 'master' of github.com:f12dude/CS347_Chess