Override toString method in Time class to print millis