Fish searches for prey using breadth first search