added ability to delete students from array and write to csv