01/13/14 - square movement function added