Man accused of assaulting teens at YMCA going to trial