Updated readme with working code and fixed the code so it worked with the readme.