add d pattern printing test
add direct pattern test
fix counting order, add test
Merge pull request #56 from kjs73/take_step_test

Update take-step-pattern