Add require_relative for calculate_average