Added solution to 2.5
Refactored revLinkedAdd.js