add pseudo code for gradient descent