Starting to add support for castling.