segfault program
Some amendments to segfault