Click check is finished. Now implementing isPointWithin method in triangle class