revert and update readme
remove repetitive pattern counting code
rewrite duplicative code, rewrite strength algorithm, fix green color