tiny ternary virtual machine for gamified ctf challenges