Fix typos, improve code clarity

I just used this cool library in a school assignment and I felt I had to contribute a tiny bit back.