Add methods for adding at index

Maybe "insert" is a better name for this method.