Removed trash code from random movement generator