/**
 * This function creates a dictionary with the actor's name, age and list of movies they have acted in.
 */
fun createActorDictionary(actorName: String, actorAge: Int, actorMovies: List<String>): Map<String, Any> {

    val actorDict = mutableMapOf<String, Any>()
    actorDict["name"] = actorName
    actorDict["age"] = actorAge
    actorDict["movies"] = actorMovies
    return actorDict
}
/**
 * This function creates a dictionary with the actor's name, age and list of movies they have acted in.
 */
fun createActorDictionary(actorName: String, actorAge: Int, actorMovies: List<String>): Map<String, Any> {
/**
 * This function creates a dictionary with the actor's name, age and list of movies they have acted in.
 */
fun createActorDictionary(actorName: String, actorAge: Int, actorMovies: List<String>): Map<String, Any> {

    val actorDict = mutableMapOf<String, Any>()
    actorDict["name"] = actorName
    actorDict["age"] = actorAge
    actorDict["movies"] = actorMovies
    return actorDict
}