Added user prompt and test programs.