Minor bugs fixed. Examples added