compile errors, missed parentheses because gedit
more parens
parens
parens
more parens
even more parens
fstream issue?
shot in the dark
check for infinite loop
whoops
debug cout fan
check if it's good
pastfan
more checks
gets reset
entered goodcheck
fixed mistake
up to date, looks good
took out cout
working on sim