Digits counter that asks user to provide time stamp input, or default to local timestamps.
added main method.