Changed code and renamed it to "oak" and added input reader functions