Solve split_hash_by_keys kata.