fleshed out the readme. fixed a bug in memory