refactor assembler. make a class for the symbol table. split parse_file into two functions