Refactored add() for LL