Implemented Pruning, memory profiling (currently commented), recursive graphing