Behavior Analysis for Effective Teaching