Root depth affected by REG
Tied main.cpp's testing functions into a single class w/functions