Implementation of Data-mining and Machine learning algorithms from Scratch and using Frameworks as well