def create_data_structure(string_input):
    """
    Parses a block of text and stores relevant information
    into a data structure. You are free to choose and design any
    data structure you would like to use to manage the information.
    Arguments:
    string_input: block of text containing the network information.
    Returns:
    The newly created network data structure
    """
    sentence_list = string_input.split(".")
    friend_list = [sentence_list[i].split(" is connected to ")
                   for i in range(len(sentence_list))
                   if i % 2 == 0 and sentence_list[i] != ""]
    games_list = [sentence_list[i].split(" likes to play ")
                  for i in range(len(sentence_list))
                  if i % 2 == 1 and sentence_list[i] != ""]
    network = {friend_list[i][0]:
               [friend_list[i][1].split(", "), games_list[i][1].split(", ")]
               for i in range(len(friend_list))}
    # for i in range(len(friend_list)):
    #     network[friend_list[i][0]] = [friend_list[i][1].split(", "),
    #                                 games_list[i][1].split(", ")]

    return network