Removed Hash[array] in favour of Enumerable#reduce({})

Just fiddling with improving the code quality and readability.

If this is not the case with my refactorings (i.e. they're only easier for me), let me know.