Lab4 of the ECE419 course