Working on traversal, have index ut of bunds in recursive loop right now...
Implement writing to file, issue with prediction though