Fixed join and exit. All autograder tests pass now.