St. Marys wins its way to district tournament spot