A Neural Network Model for Predicting Stock Market Prices