simple shell program [for study]