def prettyprinter(d, indent=0):
	"""Makes a string with nice formatting out of a dictionary"""
	s = '\n'
	for key, value in d.items():
		s+='\t' * indent + str(key) + ':' + '\t' + str(value) + '\n'
	return s