Tutorial 17: Train an RNN model using the MNIST dataset