go-back-N implemented