added week4 pattern match code