Simulation of buying/selling stocks with circular queue in Java