Added doc strings for all of the functions