read me changed, added test cases
crated files for rb (needs to be translated from php to ruby)