make sample program using pattern match tuple
make sample program using list pattern match