Added TimeRange class.
Added cppcheck script
Check for self-assignment in operator=