The Emptiness Problem for Regular Grammars Is Solvable