Finished Program 4 and commented all parts so far.