Update extra-task-1.cpp

Made get_hours_minutes_seconds