Debugging

Getting the output to work (lazy for now). Still need to figure out how
to deal with bounds on reading calendar and EOF.