Create A_b_c_d.java

exercise from chapter 1