[Closes #25] Minor fixes/cleanup to hashes and arrays
Merge pull request #26 from jamesbrink/misc_fixes

Refactored Hashes and Arrays to close #25