working on functions

working on functions first real commit