Cleaned and restructured parts of code
Added Learnign Curve
Fixed error