Forgot to delete nodes after printing them out