Added statistics method in Sample to compare variations of the algo