Python Simple Hash Recipe