changed name of files foir examples
fixed several bugs
added unit test and impl save as png