Adding comments

Adding more commenting in the entire file