Finished implementing brace  syntax checker