Added some debug statements for calculate_scores method.