more comments, some fixes, some refactoring

-fixed endOfGame standstill code, and included more tests (comments,
not actual HUnit tests)
-removed useless boardScore argument from minimax
-added more traces and consequently don't think minimax is working