refactor my_array_finding_method to one line
remove extra array and add keys method to my_hash_finding_method