Adding a function to find averages

My first function! There are also tests added for the average function