converts the bomberbot blocks language into javascript to make it easier its execution.