Coding simulator code (2/27)

Coding simulator code