update README
update test startup
add doctest
better info on out of range writes
add comments +typo
better mem info
add log to file