Shortest Path Problem In Discrete Mathematics