Youval's HW

Complete the functions as assigned