Improved the column removal function by using splitAt