BUG FIX: Undefined behavior, because m_left and m_right were not initialised with nullptr. It didn't give a compilation error, but sometimes gave a segmentation fault in runtime