Test 5 Passed

* Copy pasta getString and searchNodes from master
* modified my bash script to detect infinite loops
* silenced warnings by forcing types
* Realised bugs on testing day came from me getting confused and
accidentally interchanging between memcpy and strcpy; strncmp and
memcmp; strlen and sizeof. Thats why I got such interesting error codes
that I couldn’t figure out.