implemented Ruzicka similarity and his test