Base 10 blocks changed to base N

There is no reason why the base 10 blocks must be limited to being only
base 10, so the script was updated to accept any integer as a base for
making blocks