Analyzing student problem-solving behavior in a step-based tutor and understanding the effect of unsolicited hints