add bayes non-parametric class
exercise 1 for one variable linear regression