Cleaned up and tested examples added