refactored and simplified region fold so that it works for any language that is recognised by the code mirror mode
updated read me file