add a small change to applyRule method
update the README, add introductions and algorithm illustrations