Isolated global variable Basis_table to one file
Warnings cleanup
Change linked list freeing from recursive to iterative
Removed double initialization
Changes to allow g++ to compile these files
Clean up
Removed a misleading comment asking if particular variables could be freed