inputs: had to introduce dir param
inputs: implemented BufReader - XXX file is not closed by anyone
inputs: BufReader returns Closer as well - not sure if this is idiomatic
prob 8: reading digits
solved prob 8