changed rk_i back to 1. segmentation fault and queen problem is rising from duality of rk_i in rook and queen need to use separate rookhop fo rqueen as well