Create Ex1_1_15.java

avoid using double for loop