added method to delete elements in CG.B2DWorld class