first operational algorithm which seems slow.
add README
merge