clear

fun clear()

Removes every element and resets total to zero.