Added function to output display
Looks like something is wrong - the pattern prints at an offset