Choose the pattern

Added a simple menu selection, to choose the pattern.