test diff
This is working version

TODO : Make free to malloced space work
merge