Added polygon-membership test (Exercise 2.1)