Example code to train a Graph Neural Network on the MNIST dataset in PyTorch for Digit Classification