added function to create a new file
wrote choice function and added return in create_file
fixed a bug in create_file
did I do anything new here?