finished the reverse linked list problem and commented out for full
understanding.