fix typos
Merge pull request #20 from ccding/dev

fix typos
use function fatal(...)
Merge pull request #21 from ccding/dev

use function fatal(...)
clean code
Merge pull request #22 from ccding/devc

clean code
remove trailing space
clean format with gofmt -w
Merge pull request #23 from ccding/devd

remove trailing space
make store test work
Merge pull request #24 from ccding/dev

make store test work
fix the recoveryTest
Merge pull request #25 from xiangli-cmu/master

fix the recoveryTest