Added a README. Tidied some code. Minor bug-fix.

Described usage of library. Tided up the code just a little bit. Fixed
"similar" method.