Adding the Triangle Detection to panda Main