added more implementation write up
added MAXGOROUTINE function to fix Go code