Adding ability to print array of hashes