Functions

Added function basics