added the self-baked linked-list version of stack