title: Calculate average or take in an ArrayList as a parameter to a function
body: <p>Is there a built-in method to calculate the average of an integer ArrayList?</p>
  
  <p>If not, can I make a function that will do that by taking in the name of the ArrayList and returning its average value?</p>