Added sub routine for printing number;