A simple program to test getstr