Calculate average coin toss heads run length