Made a delete-er function

Now the program will delete all stuff.
Still needs to re-arrange the read/write order.