Finalising assignment 4, debugging payload field in echo/size/sum/min/max operations