Removing duplicates in result, added comments in code that describing the methods