Bruin snap losing streak with victory over Anderson Prep