Remove C-ext dpendency

I rewrite pure-ruby version.
Could you apply it?
Or should I fork project?

Thanks,
Koichi