Slight efficiency and AI improvement, packaged files

Moved files into package named "chess". Fixed AI bugs. Improved
efficiency when checking for check. Rook now animates after king when
castling.