Luigi Mangione appears in New York State court