First, failed attempt at Generate_Grammar class