added solution for Array Item Removal