Static memory-based linked list template with bash script to generate linked list file