Added a list_insert() method that takes an index and inserts the given
element into the given list, indexed at 0