added ticker.c and added a gitignore file