Modified allMoves to have captures first in the array and all other moves
afterward. Move generation now works but searching positions is completely
screwed. Need to think of algorithms for searching positions
It does something. And searches a lot of positions. Unfortunately that something
involves the queens taking a lot of things and the calculation never ending
Started some check and checkmate functions. Haven't tested them yet
Also there should be an isDraw() function that searches through the last
couple moves for threefold repetition, 50 move rule, and also checks for
stalemate.
Also made an alphaBeta function that will soon use alphaBeta pruning
to make the search more efficient but to do that first isCheck(), isCheckmate(),
and isDraw() have to be implemented and working.