Fixed the castling rules for the King's move