An implementation of the unroll program from SX codegolf

link:
http://codegolf.stackexchange.com/questions/39993/write-a-square-program-that-outputs-the-number-of-times-it-has-been-unrolled