Added basic functionality for long castling.