Shortest Path Finding using Floyd's Algorithm