build script improved: auto-detects jdk version (1.7 and 1.8 are supported)
example finished, constructs workflow with specified width and depth