Mock text-based menu written in Java