Create a simple dialog with a machine by using pattern matching
Regular expression library for Python was used. The rule-set was constructed as specified in the LISP code. The responses is a list mapped to the pattern match. A random answer will be given if more answers are available for the corresponding input.