Creating a terminal-based interactive menu system