working table parser

not bug free though
added bracket things support