Artemi Panarin was the overtime hero as the New York Rangers won a thriller against the Toronto Maple Leafs 2-1.