reset page_num to  0 in close()
Merge branch 'master' of https://github.com/Schylock/cs143
final... hopefully