Implemented and tested remove() from ShapesArray