added append and clear methods to ICollection

implemented them for ArrayList and Map