Implemented removeAll. Added javadoc