Update Queue.java

Class Queue used in BFT