Refactoring. HEX from gramar deleted. Unchecked rule in makefile added.