Allegany’s 10 run first inning leads to five-inning win over Frankfort