trouble with dequesFirst, I don't recommend this kind queue; Second, you should modify numElements when adding element;...