Give default value of "1" to count variable, if it doesn't have one.

Added function check_prereqs(), which will do some basic error checking.

Fixed two bad comparisons: The fragment 'if [ "$setup" = "TRUE" ]' should use "==" instead of "=", which is only for assignment not comparison.

In the tidy up sections, did tests to check if files existed before removing them. Otherwise, the script will display error messages with could confuse users.
Add check_preqs call
Fixing bad merge - function name got changed, changing back
Reverting one change
Merge pull request #12 from curiousjgeorge/curiousjgeorge/easychanges

Error Checking and Assigning default value