Added operator [] to List class