Algorithm1: Stop-and-Wait with Go-Back-N