Fixe setBoard function
Fixed another bug in trapped rook code, arisen after fixing setBoard function