Tidied Code. Updated README.