Added a brief description for functions

I added a description for all the functions that are used and called, and what the arguments are used as,