Fix codeManager.

Add getRandomArrayList method.