Add linked queue implementation in Java