Added the castling feature