Updated README
Added analysis of given code and made improvements
Added algorithm analysis