Added stalemate detection logic, fixed AI capturing his own pawn bug, and AI now weights and accounts for:
-central pawn pushes
-castling
-position (how many legal moves it has vs opponent)

Started game tree code, but it isn't yet used in the move search.