refactor menu
fix scanf with int
implement stack