Fixed up where there was no error checking of position when inserting
into a position into the list. Also made it so that listCreate returns a
pointer to a list instead of a list so that we can move the definition
of List into the implementation file instead of the header.