Unsupervised Learning for the Elementary Shortest Path Problem