add two ways of  sequence printing implementation