Anny wants to create a generic function keysToSlice. It should create and return a slice containing only the key values of a certain map.
Anny has already written a part of the code of the keysToSlice function. Your task is to help her write the additional code to finish the implementation of the keystoSlice generic function.