Interpreting buttons from 2x4 button matrix

Hi to all :)

i'm trying to figure this out for quite a time now,and can't find a good way.a little help wouldn't mind...

i have a i2c 16x2 display and 2x4 button matrix hooked up to a arduino.i want to make a navigable menu and i don't know good way to map and remap the buttons to use them correctly.

i've tried to use menubackend and menuwiz but i don't know how to write the code to display the info on the 16x2 lcd.i'm a beginner,so don't be too harsh.

i know how to monitor the presses and print them on the lcd.but building a menu it gets complicated.i don't need the full code,just some guidance to know where to start from.