To execute this program, please type

./stage1 command

This program is compiled for Intel + Linux + Qt 4.5 @ecelinux11.  The
program should work on other ecelinux machines.  This program will not
work on Windows or MacOS.

Disclaimer: This program is for reference.  If you find the program
producing incorrect results, please post a test input and the correct
output in Blackboard.

Known Problems: (1) The last output will be printed twice.  Simply
ignore the very last line.  (2) The program accepts only the initial
state.  Hence, the program cannot handle example 4 on
https://engineering.purdue.edu/OOSD/F2010/Assignments/group/stage1.html.
Your program has to solve both problems.

> file stage1
stage1: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
