simon game implementation in turing