Added operator [] to linkedlist class