Imported from https://github.com/Sharda-Borse/ReinforcementLearning