moved println statements to analyze method, and began commenting methods