// Start is called before the first frame update
 void Awake()
 {
     boardscript = GetComponent <boardmanager>();
     m           = GetComponent <GenerateMazeAlgoritnm>();
 }
 private void Awake()
 {
     m = GetComponent <GenerateMazeAlgoritnm>();
 }