A simple program using boolean and string