Update basic_functions.py

added templates for three functions proposed for this week