Versie 1
Edit and delete functional

Also changed array back to a generic malloc