A console mode clock using GD graphics library