corrected even more typos, added some lines, added a license file with BSD 3 license