Statistics for Teaching programming using visualization