Pattern Question

http://squidfingers.com/patterns/patterns/img_133.gif

how does one create a pattern like that?

I know how to create a pattern that repeats left to right and up and down

but i don’t how to make it so the corners continue each other

squid finger is so cool @_@