Merge pull request #22 from jinyangustc/master

Add BSD license.
Merge pull request #7 from ustckun/master

Merge pull request #22 from jinyangustc/master