cleaned some things up, checking for main dir in the home directory, added a welcome message and formatted a liite the output
cleaned minor memory issue due to \0 by strdup, using sprintf instead. created a simple bash script to log valgrinds output
clean