Now works using user input for a given amount of array values and value names