README.md updated and fully-working code finished