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.
The two methods are almost the same. Repeated combinations is actually resulting in the same combinations as the three array.eaches below. Both methods will result in a O(n^3) Big O.