added file for stateful goroutine example
added read/write chanels