Finished unit testing the LFG class. Also fixed all of the memory leaks that were present in the original implementation. The current version is leak free\!