The program doesn't execute when imported now.

I just figured out how to use the if __name__ == '__main__' if statement which solves my problem of having the module execute when I want to import it.