Create menu.c

This is a menu program for homework, which almost comes from my teacher, Mengning. Thank you very much!