add java solution for ArrayAbsurdity