Added list_remove_at utility
Implemented dead code removal