fin/out

maybe it was something about using fin/fout as class variables instead
of just in the function? probs not, but we can see anyways...it should
work because the coding for opening file is exactly what we did in the
homework?