Create W3-Str-4-Period.c

The solution to http://dsalgo.openjudge.cn/dsmoochw4/4/