Of course you can. Please write (binary digit - 1) instead of "31" in line 2. For example, you'll get 4 digit binary, you should write "FOR I=3..." in line 2.