graph drawing tool
angle = function(x1, y1, x2, y2)
	return math.atan((y2-y1)/(x2-x1))
end