write-lifo adds a pair of key/value to the LIFO <list>, specified with strings <key> and <value> (in "key" and "value" clauses, collectively called an "element").
It always adds an element so that the last one written to <list> would be the first to be read with read-lifo.