added time profile dijksta algorithm and tests