Another major revision on how attributes are passed between productions (stil major work needed). Added function for removing an arbitrary element from linked list