Making a directory for examples; slight performance improvement for OptTool