main.c: fixed initial prefix generation (or lack thereof...)