The person is knitting a stitch called the eiffel tower stitch, which involves purl four stitches, then yarn over in one direction, then purl two together and finish up by purling six.