Classifying G-graded algebras of exponent two