added scoring and a way to quit the program