sample functions to learn basics of go lang