loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
I find it rather weird that you generate randomly the predicted and actual values first, and then hard-code here the test values.