homework3. basic gradient boosting