merge Pei-2nd "revised decision making rule"

also added DirectArrayList.java