Added Comments

Added in comments about what each function does.