//QueueMain contains the main() method that runs

public class QueueMain
{
	public static void main( String [] args )
	{
		Queue myQueue = new Queue(5);
		
		System.out.println("Is the queue empty? " + myQueue.isEmpty());
		System.out.println();
		
		myQueue.add(1);
		myQueue.add(2);
		myQueue.add(5);
		myQueue.add(6);
		myQueue.add(9);
		
		myQueue.print();
		
		System.out.println("Is the stack empty? " + myQueue.isEmpty());
		System.out.println();
		
		System.out.println("Remove! " + myQueue.remove());
		System.out.println("Remove! " + myQueue.remove());
		
		System.out.println();
		
		System.out.println("Post-removal queue:");
		
		myQueue.print();
	}
}