Edit, I've resolved my original question, but I've run into a few more.
I'm trying to create a function that allows me to change a value in my array.
Also trying to create a function that allows you to specify a min and max value and then returns all values in the range.
Can someone get me pointed in the right direction?
If it matters, the values were entered into the array by the user, not defined in the array.