Add simple pattern machine sample