Added a very simple program to generate test patterns