Implement functions: init_head(), add_head() and get_head().