markAsDeleted

The function markAsDeleted() marks a record as a deleted (puts a symbol '*' to the first position of record.)