finished print_error() and yes_or_no(), and debugged