accidentally undid all of this good hard work and just redid this. what's going on now is that its comparing, but there is a NULL at the bookorderlistptr head. it's all about making sure it gets initialized simple enough, but I overcomplicated it
fixed the clean in the make file