Return an object where each key is the state and each value is an array of each park object associated with that state using .reduce code example
Example: .reduce mdn
arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])