Program 2 working and documented.