def readQuestion(pathToFile):
    """
    Reads in a .txt file and returns a list  of length 2 in the form of [[start_task_id], end_task_id]
    
    Example:
    questions.txt
    starting task: 73
    goal task: 36
    -> returns [[73],36]
    """
    output = []
    with open(pathToFile, "r") as file:
        for cnt, line in enumerate(file):
            targetId = line.split(": ")[1]
            targetId = targetId.strip().split(",")
            output.append(targetId)
    return output