code to generate InterArrival Time Added, only need to call now
Everything works well, just check plotly