finish implementing repetition checking
simplify search and fix bug in king PST scoring
avoid pruning in q-search on moves that give check