Added guide about comparing.
Fixed some problems in the programming code.