Create program1

To display the keys and values of the hash and to swap the values of keys and values if the value is an array.