Changed the data structure explicitly to a directed graph. Rewrote main code. main no longer works (or exists), but it will be rewritten soon. The plan is to use something like ncurses.