Added basic error checking for an empty string passed to the input
Added 'Clear All Items' button
Added clearAll button
Added clearAll function