add solution to readme and to code