generalized for multi-char command strings and added new turtle def