Grammar correction and addition of Syntax Diagrams

in pdf and source .txt for the webpage