Update extra-task-1.cpp

Made double to_24_hour_clock