Fixed bugs and ran the program.