database cmdline program for EECS 341