Splits movement commands into Array