created rowmajor.c

16/7/14