sample program that accepts y/n responses