Modified linked lists to be generic types.
Also deleted test methods in DList and SList (I did run them and they
passed).