add java solutions for problems 10, 11, 12, and 13