Finished unit testing the LCG class. All memory leaks that were present in the initial implementation have been eliminated.