Im sure this is a weird solution to Functional Programming: Use the reduce Method to Analyze Data