Began implementing the main body of the program.