added source code for the first program