updated readme & go formatted code