Updated README file

More detailed algorithm