Adding gitignores, bin and out directories
Modified README. Added gitignore file.
Added log file creation and closing msg to stdout.
Using return status from pthread_exit.
Added _print_to_screen function.