MADE:
--> Changed all delete to delete[]