part2 and 3

Not perfect but good enough for now. Need to rework the way I find
unexplored cell and be sure i take into account the cost potential. It
seems at late in the game i run out of power due to me not checking the
cost inside of the find unvisited cell area