added functions to read output keys
added output file to git ignore, confirmed io is working, minor speed improvements on io
working cpu implementation