Create move detecter.m