Added GPIO simulator code