add castling rights in get_pos()