Seven segment simulation for digital clock program with hours-minutes-seconds display