graph drawing tool
sign = function(n)
	if n < 0 then return -1
	else return 1 end
end