Implemented line deletion
Hope it's not too buggy