Small program to animate, including chrono timer (c++11)