Added LinearRegression scala example. Removed old BGD example.

Contribution to the scala examples update.