Added documentation to menu.c