Added comments, fixed typos and added some colors.