make unknown function error more realistic
add comment and hashbangs
made a suggestion to switch_state
changed a comment
changed more minor stuff
ran some tests
implement call_command and add comments
start on is_valid_path
start on is_valid_path
redid the data structure so that is_valid_directory and is_valid_file will work properly