Java countdown clock and console