updated readme with link
cleanup/fixed comparision function