Golang ballclock solution