Added time series example

Added time series example.