Function Defintions Added, Comments Added.