stairs function

Plotting stairs with time point at end of interval.