Added private function declarations.
Added main argument validity checks
Added LinkedList library