Added ForEach and ClearList

Added ForEach to apply a certain function to an entire list (makes it
more compressed for iteration)
Added ClearList to clear out the entire list