add Java solution for recursive implementation of maximum function for linked list