Added more solutions in Java and updated log