var Position = function(x, y) { this.x=x; this.y=y; };