small sample tests are passing
trying another method besides tail recursion
updated readme to include test information