Added comments, documentation to my code