Create a new image 50x50px with a white background. Using the Polygon Lasso Tool, select a selection like the one to the right.
Fill ( Edit > Fill ) it with Black ( Hex #000000 )
Define the pattern for later use ( Edit > Define Pattern ). Close the file. Don't forget to name the file. You will need it.