Template class specialization linkedList