Function to insert a node at the head of the linked list
function push ( head_ref , data ) { var new_node = new Node ( ) ; new_node . data = data ; new_node . next = ( head_ref ) ; ( head_ref ) = new_node ; return head_ref ; }