added first parsing stage

Parser groups tokens into paranthesis and brackets as a frist stage. This
should facilitate further parsing. No tests in place yet.