adding memory-consumer in samples directory and updating readme