Leveraging Classical Algorithms for Graph Neural Networks