completed CS360 Assignment 4.1 BNF & EBNF for regular expressions