Had to revert and then re-commit. The current code is valgrind pure for patient lookup using linked lists. and it also protects against out of bounds requests from user.