Bugfixes

I am not sure how or why it was working without return statements on non-void functions, but I went ahead and added them. Also bfs.c wasn't freeing memory properly, just stumbled across that.