Lab 8 Functions commit 2

Lab 8 Functions commit 2