def normalize(dict):
	"""
	Normalized given dictionary value to [0,1] and sum(dict.values()) = 1
	"""

	total = sum([v for v in dict.values()])

	for i, v in dict.items():
		dict[i] = v/total

	return dict