programs: Added program to roughly compute the travelled distance in a log.