added textual grammar railroad diagram