Splits string into tokens

Based on demo input "123 + 456.78" parses tokens and adds them to linked list. I hope my C pointers knowledge is not going to explode somewhere