Create patter

a pattern program