Found reallocation error
Added functioning code and function of non functioning code
Absolutely everything works maby
Merge branch 'master' of https://github.com/lonnelars/heis-prosjekt