refactored to prompt user with fwrite/fgets and set default increment to 1 using empty