Fixed some bugs in README, added license.