Added GetItem2Lists function, its grad and all its tests.