Changing Graph::optimalPath()
Graph::optimalPath() fixed to find all pathes. Working version