Finished converting growlife to C++