North Yorkshire author takes on walking challenge for charity