Learning to Predict the Cosmological Structure Formation