Step 2: Next use either the pencil tool or the line tool and create a line. Then Select > All (CTRL+A) Goto Edit > Define Pattern.
Final: This is what the final should look like. You can also use a height of 3 and only fill one pixel with a color to get another effect.