Added updateEmtpy, ifContainsUpdateNumberOfItems, add, and contains methods. Have not optimized the updateEmpty function and validation process yet.