added algorythm to README
added algorythm to README