Fixing issue with from_hash_x

Uses keys instead of hsh.keys
Also need to change values to hsh.values
Merge pull request #35 from maddijoyce/master

Fixing issue with from_hash_x