removed extra white spaces.
removed all the extra imports
added links to nbviewer and json.