Finished implementing the ecaluation part of the program. I still could not find out the exact source of the seg fault previously, but narrowed it down to the function which constructs a number type lval. Commented a thrid of the program.