use Breadth first search to find and insert