Fixed the way time is printed
Fixed parsing error & shortestDistance claculation