def read_words(file="words.txt"):
    """
    Reads a list of words from a file.

    There needs to be one word per line, for this to work properly.

    Args:
        file: the file to read from

    Returns:
        An array of all the words in the file
    """
    with open(file, "r") as f:
        return f.read().lower().splitlines()