3 people badly hurt after New York car accident