add solution of ReverseCString1_2.java