added policy that relative paths are no error
exchanged call to see  with gsed
changed c++0x flag to c++11
added missing iterator include
removed shebang line