Update ElenaSolver

Contains the most updated version of BFS