Thumbtack coding Simple Database by Python and PLY(Python Lex Yacc)