Day3Lab: Update 10

Problem 3: Added Average function to Javascript