Point In Path Test

draws a rectangle then checks if a point is in side