A simple program to process user commands