first implementation of Hypothesis test - works interactive only atm - s...

...till work to do