var interpret = function(command) { return command.replaceAll("(al)","al").replaceAll("G","G").replaceAll("()","o"); };