refactored randword to use streams, added streaming api
added tests for stream refactor
updated readme