Point in polygon code working