completed array_problems/arrays.rb

I also added a method to eliminate non-number elements of array and called that at the beginning of each of the three methods.
You don't need the extra tab here, it disrupts the code flow when reading it. Not a big deal, though.