I can\'t fix this bug:
After returning the vector struct and printing it (main.c) I get a seg fault. EXC_BAD_ACCESS typically means that the memory address pointed to