added examples
fixed dual dim
fixed example path
uncommented and fixed reflection
switched to qtextstream instead of iostream
added bruteforce method