Finished program.

Finished most of the program, requires syntax better style writing code
and commented code.