Fixed it so that the program is working.