Working code for one round with packet lost information