Write a function that inverts the keys and values of a hash.
invert({ "z" => "q", "w" => "f" })
➞ { "q" => "z", "f" => "w" }
invert({ "a" => 1, "b" => 2, "c" => 3 })
➞ { 1 => "a", 2 => "b", 3 => "c" }
invert({ "zebra" => "koala", "horse" => "camel" })
➞ { "koala" => "zebra", "camel" => "horse" }Keep the ordering in the hash the same.