Implement Gradient Descent In Python