loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
I don't see anything not initialised. Neither in this class nor in its parent. Can you try adding a default constructor @mazumdarparijat? I thought that wouldn't make a change since the current constructor has a default value but I suppose we better try.