FUTURE AND PAST: STUDY OF TIME SERIES FORECASTING