What I am trying to do is get all possible percentage value combinations for a given set of keys in an array. Here is what I have so far, which is supposed to do all possible co