moved move checker into Logic.elm