Man arrested for masturbating in front of teenage girls in a park