Add Java solution for problem 12