fixed the typo in doc
use doctest
added the change log for v0.3.2
changed the version to v0.3.2