handles function declarations. Started function expressions