Changes: 1.Added comments to examples 2.Fixed minor differences