Added a algorithms to iteratively and recursively reverse a linkedlist.