Figured out how to do the average of an array. It is kinda clumsy, I'm not sure how to do procedures and functions yet. I don't know how to write something that takes arguments.