BFS 0.4 LinkedList class of java will not do. Manual implementation needed. Cleaned up some code.