Add problem23 in Go, Python, and Python 2