Replaced 'exit' with 'return 0' in menu case statement