added whitespace precommit hook

checks for newlines, warns on whitespace
correcting whitespace errors
correcting whitespace errors
working pre-commit hook