menu implementation

If you change `next_input` to return an `Option<int>`, you will need to update this `match`