Create CreatePreferenceArray.java