nicotine and caffeine i enter function main try to understand life get core-dumped thrice