Analysis and Prediction of Stock Market Movements using Machine learning