Updating README

Added proper formatting to code samples and License