A Algorithm For Shortest Path