Bug fixed to write to file, allocation to temp before reading was the issue
changes to makefile, build from computer
free Temp variable forgetting, commit to add it