Forecasting Time Series using Neural Network Model: Application for Korean Stock Market