Create solution10.java