Lab10 simulation passed all tests