Ruby conventions

This code looks really good. Just some whitespace issues and one instance of camel case that I changed to snake case.

The useful change is using an array as the default value to a hash. It cleans up the code a little bit.

Overall, that is nice looking Ruby!