Add java solutions