sets foundation for solving problem using two separate functions
cleans up code; still remaining to be done: sorting through long digit
changes code to reflect that problem is searching for the PRODUCT, not the SUM
fixes problem where misunderstanding of range syntax in ruby was causing major mayhem (the second variable m in Array[n, m] is how many places we want selected, not the end point for the selection)