Debugging
Zasha recommends:
add print statements (or cout<<) so you can see what your program
is doing.
Make them check a global variable (doDebug), so you can turn
them off & on (to turnin for grading)
Learn debugger later.
Or
use gdb (see below)
use xxgdb (has dinky graphical user interface)