Fixed data loader and added second debug function

Fixed data loader function and added a second debug function. The second
debug isn't fully working because I'm unsure on how to use their
iterator. I've sent them an email to ask about it. To run the
application, build it and run the executable in the debug folder
seperately.