add java solutions