added fclose
creating linked list
added do while loop and print loop. still working on linked list
changed do loop