Flyers lead Penguins 3-2 after 2 periods