add outcode function that designates the region a vertex falls into