Text this: Determination of the shortest path by using genetic algorithms