implmented hashstream and passes a test