Fixed Nemesis movement, and isPieceInvincible.
Added catch for IndexErrors in genMoves. Added proper rotation support
to xboard.