def get_dict(dictionary='../data/dictionary.txt', length=100):
	"""
	Takes a string referencing the location of a text file
	Optionally takes the length of the letters we're finding a word for
	Reads that file line by line into a set, removing whitespace
	"""

	with open(dictionary, 'r') as f:
		words = set()
		for line in f:
			if len(line) <= length:
				words.add(line.strip())
	return words