Tomas Hertl scored the game-winning goal in overtime and added an assist as the San Jose Sharks defeated the Philadelphia Flyers 3-2.