added a addSentenceToSymbolTable, and added a newFrame method.