Update LinkedDeque.java

change toString method