Energy-energy correlator measurements for jets in p+p collisions at 5.02TeV