Fixing readme
Adding comments and debugging