add legend in prob2. move on to prob5-6, but prob3 without discussion.
prob5,first
prob5, need recheck
prob5, without match test statistic to R default statistic
prob5, arrow is not added
prob6