Procedural generation of an infinite map made up of 1's and 0's
I know that this is minor, but you should not stuff all your code together without spaces like:

for (int y=0;y&lt;complexity;y++){
    level[complexity-1,y]=RandomReturn(complexity-1+offsetx,y+offsety);


Because spaces help differentiate tokens at a first glance, I suggest one space on each side of each operator.