The SegFault is **due to `centre_box` being nullptr** here...  The other causes may be : 1. Snake code 2. [graphMat](https://github.com/adi-g15/graphMat) **Here is the backtrace** -> 
The SegFault is due to

centre_boxbeing nullptr here...The other causes may be :
Here is the backtrace ->
