Function to count the number of points lying inside a triangle & rectangle
static void countPoints ( ArrayList < ArrayList < Integer > > rectangle , ArrayList < ArrayList < Integer > > triangle , ArrayList < ArrayList < Integer > > points ) {