added new example demostrating ability to define shapes in arrays and supply the same array to a hit test function and a drawing function, updated triangle hit test to accomodate this functionality