VALGRIND ERRORS...(why were there more errors when i ran valgrind in the terminal????????????????????)