Added notes

Commented notes go along to explain the difference between a function
and a procedure