Update README.md

encapsulate solve