Shortest walking distance to class schedules