Added following features:
1. find the middle element in a linked list.
2. find a duplicate number in an array.
3. Reverse a string.