Changed side and whoseMove to 0 and 1 from 1 and 2
removed some debug alerts again
Fixed castling rules from earlier player side change, and added en passant for pawns.