My own implementation of python list insert.