/**
 * Given a dictionary of social workers and their clients, return a list of clients for a specific social worker.
 *
 * @param socialWorkerDict A dictionary where keys are social worker names (strings) and values are a list of their clients (strings).
 * @param socialWorkerName The name of the social worker to retrieve clients for.
 * @return A list of clients for the specified social worker.
 *
 * Example:
 * socialWorkers = mapOf(
 *     "John Smith" to listOf("Robert", "Sarah", "Emma"),
 *     "Emily Johnson" to listOf("Jake", "Emma", "Sophia"),
 *     "Andrew Thompson" to listOf("Adam", "Sophia")
 * )
 * getClientsSocialWorker(socialWorkers, "Emily Johnson") // Returns ['Jake', 'Emma', 'Sophia']
 * getClientsSocialWorker(socialWorkers, "John Smith") // Returns ['Robert', 'Sarah', 'Emma']
 * getClientsSocialWorker(socialWorkers, "Andrew Thompson") // Returns ['Adam', 'Sophia']
 */
fun getClientsSocialWorker(socialWorkerDict: Map<String, List<String>>, socialWorkerName: String): List<String>? {

    return socialWorkerDict[socialWorkerName]
}
/**
 * Given a dictionary of social workers and their clients, return a list of clients for a specific social worker.
 *
 * @param socialWorkerDict A dictionary where keys are social worker names (strings) and values are a list of their clients (strings).
 * @param socialWorkerName The name of the social worker to retrieve clients for.
 * @return A list of clients for the specified social worker.
 *
 * Example:
 * socialWorkers = mapOf(
 *     "John Smith" to listOf("Robert", "Sarah", "Emma"),
 *     "Emily Johnson" to listOf("Jake", "Emma", "Sophia"),
 *     "Andrew Thompson" to listOf("Adam", "Sophia")
 * )
 * getClientsSocialWorker(socialWorkers, "Emily Johnson") // Returns ['Jake', 'Emma', 'Sophia']
 * getClientsSocialWorker(socialWorkers, "John Smith") // Returns ['Robert', 'Sarah', 'Emma']
 * getClientsSocialWorker(socialWorkers, "Andrew Thompson") // Returns ['Adam', 'Sophia']
 */
fun getClientsSocialWorker(socialWorkerDict: Map<String, List<String>>, socialWorkerName: String): List<String>? {
/**
 * Given a dictionary of social workers and their clients, return a list of clients for a specific social worker.
 *
 * @param socialWorkerDict A dictionary where keys are social worker names (strings) and values are a list of their clients (strings).
 * @param socialWorkerName The name of the social worker to retrieve clients for.
 * @return A list of clients for the specified social worker.
 *
 * Example:
 * socialWorkers = mapOf(
 *     "John Smith" to listOf("Robert", "Sarah", "Emma"),
 *     "Emily Johnson" to listOf("Jake", "Emma", "Sophia"),
 *     "Andrew Thompson" to listOf("Adam", "Sophia")
 * )
 * getClientsSocialWorker(socialWorkers, "Emily Johnson") // Returns ['Jake', 'Emma', 'Sophia']
 * getClientsSocialWorker(socialWorkers, "John Smith") // Returns ['Robert', 'Sarah', 'Emma']
 * getClientsSocialWorker(socialWorkers, "Andrew Thompson") // Returns ['Adam', 'Sophia']
 */
fun getClientsSocialWorker(socialWorkerDict: Map<String, List<String>>, socialWorkerName: String): List<String>? {

    return socialWorkerDict[socialWorkerName]
}