Add discriminant function in 2-D example

Example taken from section 4.1.1 Two classes
Merge pull request #6 from diktat/master

Add discriminant function in 2-D example