Modified controller for tape punch device and IBM electronic typewriter