@Override
    /**
     * Puts an element at the beginning of the list
     * x element to insert
     */
    public void addToFront(String x) {
        this.insert(x, 0); // add element to position 0
    }