Adding APIs to create/print/free up the list nodes