def filterDups(coordList):
	"""
	  gets rid of adjacent duplicates in a list
	"""
	ret = []
	for i in range(0, len(coordList)-1):
		if coordList[i] == coordList[i+1]:
			continue
		ret += [coordList[i]]
	ret += [coordList[-1]]
	return ret