Updated README.md with solution explanation